(function( jQuery, window, undefined ) {
        "use strict";
 
        var matched, browser;
 
        jQuery.uaMatch = function( ua ) {
                ua = ua.toLowerCase();
 
                var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) ||
                /(webkit)[ \/]([\w.]+)/.exec( ua ) ||
                /(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) ||
                /(msie) ([\w.]+)/.exec( ua ) ||
                ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) ||
                [];

                var platform_match = /(ipad)/.exec( ua ) ||
                /(iphone)/.exec( ua ) ||
                /(android)/.exec( ua ) ||
                [];
 
                return {
                        browser: match[ 1 ] || "",
                        version: match[ 2 ] || "0",
                        platform: platform_match[0] || ""
                };
        };
 
        matched = jQuery.uaMatch( window.navigator.userAgent );
        browser = {};
 
        if ( matched.browser ) {
                browser[ matched.browser ] = true;
                browser.version = matched.version;
        }

        if ( matched.platform) {
                browser[ matched.platform ] = true
        }
 
        // Chrome is Webkit, but Webkit is also Safari.
        if ( browser.chrome ) {
                browser.webkit = true;
        } else if ( browser.webkit ) {
                browser.safari = true;
        }
 
        jQuery.browser = browser;
 
})( jQuery, window );

/****FIx***/
$(document).ready(function(){
        if($.browser.msie){
                //$('#header .banner .banner-fix .slogan').css('margin-left','210px');          
                if($.browser.version>=9){
                        $('.label-sub-area').css('padding-left','140px');
                        $('.label-job').css('padding-left','132px');
                        $('.label-age').css('padding-left','112px');                        
                        
                        $('.footer-center-fix-top .newsletter input').css('width','180px');
                }
                if($.browser.version<=7){
                        $('.search-basic .keyword').attr('size','33');
                        $('.search-basic .bt-search').css('float','none');
                        $('#age,#salary').css({'margin-top':'-20px','display':'inline-block'});
                        $('.left .jobs-seeker .title-tab').css({'left':'15px'});
                        $('.left .jobs-seeker .title-tab a').css({'margin-top':'-9px','display':'inline-block'});
                        $('#jobs').css({'padding-top':'20px'});
                        $('#jobs ul li:last').removeClass('none1');
                }
        }else  if($.browser.chrome){
                $('.label-sub-area').css('padding-left','139px');
                $('.label-job').css('padding-left','135px');
                $('.label-age').css('padding-left','115px');          
                
                $('.label-age1').css('padding-left','132px');                                
                $('.label-salary1').css('padding-left','139px');                
                
                $('.footer-center-fix-top .newsletter input').css('width','180px');
        }else if($.browser.opera){
                $('#header .banner .banner-fix .slogan').css('margin-left','210px');
                $('.search-basic .keyword').attr('size','33');
        }else if($.browser.safari){
                $('#header .banner .banner-fix .slogan').css('margin-left','210px');
        }
})